//
//  ActivityIndicatorViewController.m
//  ActivityIndicator
//

#import "ActivityIndicatorViewController.h"

@implementation ActivityIndicatorViewController

- (void)viewDidLoad {
    [super viewDidLoad];
	
	[self.view setBackgroundColor:[UIColor blackColor]];
	
	UIActivityIndicatorView *myActivityView =
	[[UIActivityIndicatorView alloc]
	 initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];
	
	CGRect activityFrame = CGRectMake(130,100,50,50);
	[myActivityView setFrame:activityFrame];
	
	[myActivityView startAnimating];
	
	[self.view addSubview:myActivityView];
	
	[myActivityView release];
}

- (void)dealloc {
    [super dealloc];
}

@end
